MathPSfrag 2: Convenient LTEX Labels in Mathematica

نویسنده

  • Johannes Große
چکیده

Many programs producing EPS graphics do not allow the inclusion of LATEX commands. While there exist several solutions to work around these difficulties, they all have various drawbacks. (See [1] for a discussion of several methods and an alternative approach to overcome these difficulties.) In this article, we will focus on a particular existing solution, the PSfrag package [2], which provides LATEX macros allowing the user to replace pieces of text (“tags”) in an EPS file by an arbitrary LATEX construct. However, for PSfrag to work, the application must write tags unaltered into the EPS file. For Mathematica [3, 4], this requirement amounts to using single words, strictly consisting of alphanumeric characters only. As a consequence, the user has to work most of the time with an inconveniently labeled graphic and is furthermore required to keep track of the tags used in the substitution macros. On the other hand, it is not always possible to use Mathematica’s conventional export function as it produces EPS files requiring the inclusion of additional fonts into the document. This means configuring the local TEX installation such that it finds the fonts provided by Wolfram Inc. [5, 6, 7], a process often not being under the author’s control. A way out is to include the fonts into the EPS file and set the font family to a standard PostScript one. The required steps are version dependent— the latest version as of this writing, 6.0, has sane defaults—for 5.2, the following commands are required:

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

MathPSfrag: LTEX labels in Mathematica plots

A Mathematica package that allows inclusion of LTEX labels in EPS graphics using PSfrag will be presented. The clue is that positioning information and TEX code is automatically generated by the package. It also contains a preview capability that imports a bitmap of the final image including the rendered LTEX labels back into Mathematica.

متن کامل

MathPSfrag: Creating Publication-Quality Labels in Mathematica Plots

This article introduces a Mathematica package providing a graphics export function that automatically replaces Mathematica expressions in a graphic by the corresponding LaTeX constructs and positions them correctly. It thus facilitates the creation of publication-quality Enscapulated PostScript (EPS) graphics.

متن کامل

MathPSfrag 2: Convenient LaTeX Labels in Mathematica

Many programs producing EPS graphics do not allow the inclusion of LATEX commands. While there exist several solutions to work around these difficulties, they all have various drawbacks. (See [1] for a discussion of several methods and an alternative approach to overcome these difficulties.) In this article, we will focus on a particular existing solution, the PSfrag package [2], which provides...

متن کامل

Convenient Labelling of Graphics, the warmreader Way

This article describes a system for placing labels on included graphics in a way that does not require the user to be concerned with explicit lengths or coordinates. The full system was developed specifically for use on Macintosh computers but, due to its modularity, can be used with other systems as well. The warmreader (read ‘Wendy And Ross’, selecting either for the ‘M’) package defines macr...

متن کامل

Relativistic Constitutive Theory

The aim of this article is to show, how computer algebra can be used when applying Liu’s procedure. Although I will use Mathematica (a commercial product by Wolfram Research) it is possible to use other computer algebra systems as well. This was the reason for me to choose LTEX for this article and not just to publish my mathematica-notebook. 1 Thermodynamics: Liu’s Procedure (A very short intr...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2008